package com.by.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Tb implements Serializable {
    private int id;
    private String user_name;
    private String course;
    private String score;
    private String deptid;

    public Tb(int id, String user_name, String course) {
        this.id = id;
        this.user_name = user_name;
        this.course = course;
    }

    public Tb(String user_name, String course, String score) {
        this.user_name = user_name;
        this.course = course;
        this.score = score;
    }
}
